$images: '../images';

@mixin bg-cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@mixin bg-contain {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/*css*/

body {
  font-family: -apple-system, 'PingFang SC', 'Hiragino Sans GB', Arial, 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: #172437;
  // color: #b5c4dd;
}

::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
::-webkit-scrollbar-face {
  background: #fff;
  border-radius: 2px;
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

p {
  margin: 0;
}

a,
a:hover {
  text-decoration: none;
}
/*main*/

.header {
  position: relative;
  height: 80px;
  padding: 0px 40px;
  .left {
    float: left;
    line-height: 80px;
  }
  .logo {
    position: relative;
    top: -4px;
    display: inline-block;
    width: 42px;
    height: 47px;
    vertical-align: middle;
    @include bg-contain;
    background-image: url($images+'/logo.png');
  }
  .slogan {
    color: #cdddf7;
    font-size: 25px;
    margin-left: 10px;
    font-weight: 400;
    display: inline-block;
  }
  .right {
    float: right;
    line-height: 80px;
  }
  .info {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    margin-left: 30px;
  }
}

.container {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 110px);
  padding: 0px 30px 30px 260px;
}

.aside-menu {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 260px;
  padding: 0px 20px 0px 36px;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  li {
    width: 205px;
    height: 55px;
    color: #fff;
    line-height: 55px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    @include bg-cover;
    background-size: contain;
    background-image: url($images+'/menu_bg.png');
    &:hover {
      opacity: 0.7;
      cursor: pointer;
    }
    &.active {
      background-size: 180px auto;
      background-image: url($images+'/menu_active_bg.png');
    }
  }
}

.content {
  width: 100%;
  background-color: #17283c;
  min-height: calc(100vh - 110px);
  padding: 20px;
  &.no-bg {
    background-color: transparent;
    padding: 0px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  li {
    flex: none;
    width: 222px;
    height: 73px;
    line-height: 73px;
    text-align: center;
    color: #cdddf7;
    font-size: 15px;
    letter-spacing: 1px;
    margin-right: 50px;
    @include bg-cover;
    background-image: url($images+'/nav_bg.png');
    &:hover {
      opacity: 0.7;
      cursor: pointer;
    }
  }
}

.sct-title {
  position: relative;
  height: 37px;
  padding-right: 42px;
  .inner {
    position: relative;
    padding-left: 40px;
    line-height: 37px;
    background-color: #153a5b;
    &:before {
      content: '';
      position: absolute;
      left: 0px;
      top: 0px;
      width: 22px;
      height: 16px;
      @include bg-cover;
      background-image: url($images+'/title_top_bg.png');
    }
    span {
      color: #ffffff;
      font-size: 12px;
      letter-spacing: 0.8px;
      &:hover{
        cursor:pointer;
      }
    }
    a {
      float: right;
      margin-right: 56px;
      display: inline-block;
      color: #7b90a2;
      font-size: 12px;
    }
  }
  &:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    width: 36px;
    height: 37px;
    @include bg-cover;
    background-image: url($images+'/title_right_bg.png');
  }
}
.dsbd-t{
  width: 48%;
  float: left;
  margin-right: 3px;
}
.sct-filter {
  margin: 25px 0px 20px;
  height: 30px;
  display: flex;
  align-items: center;
}

.filter-form {
  margin-right: 40px;
  .control-label {
    color: #ffffff;
    font-size: 13px;
    line-height: 27px;
    font-weight: 400;
    padding: 0px 10px;
  }
  .form-control {
    width: 108px;
    height: 27px;
    line-height: 27px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 400;
    padding: 0px 5px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #172437;
    &.xl {
      width: 150px;
    }
    &.xxl {
      width: 250px;
    }
    &.select {
      position: relative;
      &:after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -3px;
        z-index: 2;
        width: 10px;
        height: 6px;
        @include bg-contain;
        background-image: url($images+'/icn-select.png');
      }
    }
  }
  .btn {
    width: 81px;
    height: 27px;
    border: none;
    border-radius: 3px;
    background-color: #1172b4;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
}

.sct-table {
  position: relative;
  padding-bottom: 80px;
  height: calc(100vh - 230px);
  box-shadow: inset 0 0 12px #133551;
  border: 1px solid rgba(14, 148, 234, 0.34);
  .box {
    overflow: auto;
    height: 100%;
  }
  &.sct-device {
    margin-top: 10px;
    height: calc(100vh - 170px);
  }
  &.sct-video {
    margin-top: 0px;
    height: calc(100vh - 120px);
    .btn-back {
      margin: 18px 5px 0px;
    }
  }
  &.sct-car {
    margin-top: 0px;
    height: calc(100vh - 120px);
  }
  &.sct-permission {
    margin-top: 12px;
    height: calc(100vh - 170px);
  }
  .table {
    tr {
      background-color: transparent;
      &:nth-child(2n) {
        background-color: #2f3c50;
      }
    }
    td {
      text-align: center;
      color: #b5c4dd;
      font-size: 12px;
      letter-spacing: 0.8px;
      border: none;
      input[type='checkbox'] {
        width: auto;
        height: auto;
        line-height: 1;
      }
    }
    thead {
      height: 37px;
      background-color: #163552;
      tr {
        background-color: transparent !important;
      }
      td {
        text-align: center;
        color: #cdddf7;
        font-size: 12px;
        letter-spacing: 0.8px;
      }
    }
  }
}
.dsbd-c{
  display: flex;
  justify-content: space-between;
  padding: 0 3px;
}
.sct-pagination {
  position: absolute;
  bottom: 10px;
  width: 100%;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    a {
      display: block;
      padding: 6px 15px;
      color: #b5c4dd;
      background-color: #2e3a4b;
      border: 1px solid #172b44;
      &.active,
      &:hover {
        color: #fff;
        background-color: #1b629b;
      }
      &.prev {
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
      }
      &.next {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }
    & > span {
      display: block;
      padding: 6px 15px;
      color: #b5c4dd;
      background-color: #2e3a4b;
      border: 1px solid #172b44;
      &.active {
        color: #fff;
        background-color: #1b629b;
      }
    }
  }
  .pagination {
    li {
      a {
        padding: 6px 15px;
        color: #b5c4dd;
        background-color: #2e3a4b;
        border: 1px solid #172b44;
      }
      &.active,
      &:hover {
        a {
          color: #fff;
          background-color: #1b629b;
        }
      }
    }
  }
}

.color-green {
  color: #87cefa !important;
}

.color-orange {
  color: #ff7f50 !important;
}

.edit-title {
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  padding: 0px 10px 10px;
}

.sct-device {
  .sct-filter {
    height: auto;
  }
  .form-inline {
    display: flex;
    width: 100%;
    padding: 0px 30px;
    justify-content: space-between;
    align-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    .form-group {
      display: flex;
      justify-content: flex-end;
      padding: 10px 0px;
      width: 280px;
      .form-control {
        width: 160px;
      }
    }
  }
}

.sct-tabs {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  background-color: #153a5b;
  padding-left: 30px;
  .tab-item {
    flex: none;
    position: relative;
    height: 34px;
    line-height: 34px;
    margin: 0px 20px;
    span {
      color: #ffffff;
      font-size: 10px;
      letter-spacing: 0.7px;
    }
    &.active,
    &:hover {
      cursor: pointer;
      span {
        color: #ffb648;
      }
      &:before {
        content: '';
        position: absolute;
        left: 0px;
        bottom: 0px;
        width: 100%;
        height: 3px;
        background-color: #ffb648;
      }
    }
  }
}

.sct-panel.tab-panel {
  display: none;
  &.active {
    display: block;
  }
}

.sct-panel {
  width: 100%;
  display: flex;
  justify-content: space-between;
  .sct-menu {
    flex: none;
    overflow: auto;
    margin-top: 10px;
    width: 292px;
    margin-right: 13px;
    height: calc(100vh - 170px);
    box-shadow: inset 0 0 12px #133551;
    border: 1px solid rgba(14, 148, 234, 0.34);
  }
  .sct-device {
    flex: 1;
    .form-inline {
      padding: 0px 30px 0px 0px;
      .form-group {
        margin-right: 10px;
        width: 230px;
        .form-control {
          width: 130px;
        }
      }
    }
    .txt {
      width: 100px;
      margin: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .u-icn {
      margin-right: 10px;
    }
  }
  .tools,
  .blank-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 44px;
    background-color: #153a5b;
    padding: 0px 15px;
    .icn {
      display: block;
      width: 20px;
      height: 20px;
      @include bg-cover;
      background-size: auto;
      cursor: pointer;
      &.icn-add {
        background-image: url(../images/icn_add.png);
      }
      &.icn-delete {
        background-image: url(../images/icn_delete.png);
      }
      &.icn-edit {
        background-image: url(../images/icn_edit.png);
      }
      &.icn-order {
        background-image: url(../images/icn_order.png);
      }
      &.icn-search {
        background-image: url(../images/icn_search.png);
      }
    }
  }
  .sct-root {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .item {
      position: relative;
      width: 100%;
      padding: 0px 20px 0px 60px;
      cursor: pointer;
      &:before {
        content: '';
        position: absolute;
        left: 34px;
        top: 16px;
        width: 7px;
        height: 13px;
        @include bg-cover;
        background-image: url(../images/icn_right.png);
      }
      .title {
        position: relative;
        margin: 0px;
        color: #0e94ea;
        font-size: 12px;
        line-height: 45px;
        letter-spacing: 0.8px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        z-index: 2;
      }
      .contents {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        .list {
          .canmera {
            position: relative;
            height: 33px;
            line-height: 33px;
            opacity: 0.7;
            color: #ffffff;
            font-size: 12px;
            font-weight: 400;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding-left: 20px;
            &::before {
              content: '';
              position: absolute;
              left: 0;
              top: 11px;
              width: 9px;
              height: 12px;
              @include bg-cover;
              background-image: url(../images/icn_camera.png);
            }
          }
        }
      }
      &.active {
        &:before {
          top: 20px;
          width: 13px;
          height: 7px;
          z-index: 2;
          background-image: url(../images/icn_down.png);
        }
        &:after {
          content: '';
          position: absolute;
          left: 0px;
          top: 0px;
          width: 100%;
          height: 45px;
          z-index: 1;
          background-color: #2e3a4b;
        }
        .contents {
          max-height: 200px;
        }
      }
    }
  }
}

.u-icn {
  display: inline-block;
  @include bg-contain;
  font-size: 0;
}
.icn-active {
  width: 10px;
  height: 10px;
  background-image: url(../images/icn_active.png);
}

.sct-dashboard {
  display: flex;
  justify-content: space-between;
  .panel-left {
    margin-right: 10px;
    width: 50%;
    display: flex;
    flex-direction: column;
    .sct-table {
      margin: 10px 0px;
      padding: 0px;
      height: calc(100vh - 170px);
      overflow: auto;
    }
  }
  .panel-right {
    margin-left: 10px;
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  .panel-top,
  .panel-bottom {
    display: flex;
    flex-direction: column;
    .sct-table {
      position: relative;
      padding: 0px;
      margin: 10px 0px;
      height: calc(50vh - 115px);
      overflow: auto;
    }
  }
  .panel-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 0;
    .top-left{
      display: flex;
      flex-direction: column;
      position: relative;
      width: 50%;
      height: calc(50vh - 65px);
      padding-right: 3px;
      .top-left-stitle{
        color: #fff;
        position: relative;
        padding-left: 40px;
        line-height: 37px;
        background-color: #153a5b;
        &:before {
          content: '';
          position: absolute;
          left: 0px;
          top: 0px;
          width: 22px;
          height: 16px;
          @include bg-cover;
          background-image: url($images+'/title_top_bg.png');
        }
      }
      .top-left-content{
        margin-top: 5px;
        height: 100%;
        border: 1px solid rgba(14, 148, 234, 0.34);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        padding: 5px 8px;
        .item{
          display: flex;
          justify-content: space-around;
          align-items: center;
          height: 50px;
          font-size: 18px;
          .title{

          }
          .time{

          }
        }
      }
    }
    .top-right{
      display: flex;
      flex-direction: column;
      position: relative;
      width: 50%;
      height: calc(50vh - 65px);
      padding-right: 3px;
      .top-right-stitle{
        color: #fff;
        position: relative;
        padding-left: 40px;
        line-height: 37px;
        background-color: #153a5b;
        &:before {
          content: '';
          position: absolute;
          left: 0px;
          top: 0px;
          width: 22px;
          height: 16px;
          @include bg-cover;
          background-image: url($images+'/title_top_bg.png');
        }
      }
      .top-right-content{
        margin-top: 5px;
        height: 100%;
        border: 1px solid rgba(14, 148, 234, 0.34);
        color: #fff;
        ul{
          padding: 5px 8px;
          li{
            border-bottom: #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 33px;
            cursor: pointer;
            .title {
              font-size: 12px;
              color: #fff;
              line-height: 1;
            }
            .time {
              font-size: 12px;
              color: #999999;
              line-height: 1;
            }
          }
        }
      }
    }
  }
}

.logo-list {
  padding: 6px 0px;
  margin-right: 3px;
  .item {
    position: relative;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px 0px 64px;
    &:before {
      content: '';
      position: absolute;
      left: 30px;
      top: 11px;
      width: 9px;
      height: 10px;
      @include bg-contain;
      background-image: url(../images/icn_dot.png);
    }
    .title {
      font-size: 12px;
      color: #fff;
      line-height: 1;
    }
    .time {
      font-size: 12px;
      color: #999999;
      line-height: 1;
    }
    &:nth-child(2n) {
      background-color: #3b495d;
    }
  }
}

.policy-list {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 10px 30px;
  .item {
    height: 100%;
    padding: 13px 0px 16px;
  }
}

.device-btns {
  display: flex;
  align-items: center;
  height: 23px;
  margin: 23px 0px 0px 20px;
  .link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    width: 63px;
    height: 23px;
    border-radius: 3px;
    overflow: hidden;
    .icn {
      display: block;
      width: 14px;
      height: 14px;
      @include bg-contain;
      background-image: url(../images/icn_menu_add.png);
    }
    span {
      padding-left: 5px;
      color: #ffffff;
      font-size: 12px;
      line-height: 1;
    }
    &.btn-yellow {
      background-color: #ffb648;
    }
    &.btn-cyan {
      background-color: #00add8;
    }
    &.btn-pink {
      background-color: #e98698;
    }
    &.btn-pure {
      background-color: #9579d3;
    }
    &.btn-blue {
      background-color: #3b8ede;
    }
  }
}

/*dialog*/
.modal-dialog {
  .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    .close {
      color: #fff;
      opacity: 0.8;
    }
  }
  .modal-content {
    background-color: #172437 !important;
    .modal-title {
      color: #fff;
    }
    .modal-body {
      color: #fff;
      opacity: 0.8;
    }
    .modal-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.3);
      .btn-primary {
        border: none;
        border-radius: 3px;
        background-color: #1172b4;
      }
      .btn-primary {
        border: none;
        border-radius: 3px;
        background-color: #1172b4;
      }
      .btn-default {
        border: none;
        border-radius: 3px;
        background-color: #fff;
      }
    }
  }
}

/* login */
.page-login {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  @include bg-cover;
  background-image: url(../images/login_bg.jpg);
  .login-form {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 453px;
    height: 356px;
    margin: 0 auto;
    transform: translate3d(-50%, -50%, 0);
    @include bg-cover;
    background-image: url(../images/login_form_bg.png);
    padding: 38px 76px 0px;
    .title {
      position: absolute;
      top: -100px;
      left: 0px;
      width: 100%;
      color: #ffffff;
      font-size: 18px;
      line-height: 50px;
      text-align: center;
    }
    .submit-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 35px auto 0px;
      width: 286px;
      height: 30px;
      font-size: 14px;
      color: #fff;
      line-height: 1;
      letter-spacing: 1px;
      border-radius: 2px;
      background-color: #0e94ea;
    }
  }

  .form-group {
    position: relative;
    margin-bottom: 21px;
    .form-control {
      display: flex;
      align-items: center;
      width: 100%;
      height: 30px;
      border-radius: 1px;
      border: 1px solid #0e94ea;
      background: transparent;
      -webkit-appearance: none;
      color: #fff;
      font-size: 13px;
      line-height: 1;
      padding: 0px 20px 0px 30px;
    }
    .control-label {
      position: absolute;
      left: 0px;
      top: 0px;
      height: 30px;
      width: 30px;
      z-index: 2;
      font-size: 0px;
      @include bg-contain;
      &.icn-user {
        background-size: 9px 12px;
        background-image: url(../images/icn_user.png);
      }
      &.icn-password {
        background-size: 10px 11px;
        background-image: url(../images/icn_password.png);
      }
      &.icn-code {
        background-size: 10px 12px;
        background-image: url(../images/icn_code.png);
      }
    }
    &.form-code {
      .form-control {
        width: 190px;
      }
      .codeImg {
        position: absolute;
        right: 0px;
        top: 0px;
        display: block;
        width: 89px;
        height: 30px;
        border-radius: 1px;
      }
    }
    &.form-txt {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: -10px;
      height: 20px;
      .link-txt,
      .txt {
        color: #60b7ef;
        font-size: 12px;
        line-height: 1;
      }
      .remeber {
        display: flex;
        align-items: center;
        height: 20px;
        .txt {
          font-weight: 400;
          margin: 0px 0px 0px 12px;
        }
      }
      .checkbox {
        display: block;
        width: 15px;
        height: 15px;
        border-radius: 1px;
        border: 1px solid #60b7ef;
        opacity: 0.6;
        padding: 0;
        margin: 0;
      }
    }
  }
}

.sct-detail {
  margin-top: 30px;
  min-height: calc(100vh - 190px);
  .sct-article {
    padding: 10px 30px;
    color: #b5c4dd;
    .title {
      line-height: 1.4;
      font-size: 20px;
      color: #b5c4dd;
      font-weight: bold;
      text-align: center;
    }
    .time {
      font-size: 12px;
      line-height: 1;
      color: #b5c4dd;
      opacity: 0.8;
      text-align: center;
      padding-bottom: 30px;
    }
    .txt1 {
      font-size: 14px;
      line-height: 1.4;
      color: #b5c4dd;
      font-weight: bold;
      text-align: left;
      white-space: pre-line;
    }
  }
}

.aoi-panel {
  position: relative;
  padding-top: 50px;
  .sct-filter {
    width: 100%;
  }
  .form-horizontal {
    width: 100%;
    .form-group {
      width: 100%;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      margin-bottom: 42px;
      padding-right: 100px;
      .control-label {
        width: 150px;
        text-align: right;
      }
      .form-control {
        width: 200px;
        &.ele-textarea {
          flex: 1;
          width: 100%;
          height: 150px;
        }
      }
    }
  }
  &.site-panel {
    .form-horizontal {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      .form-group {
        width: 50%;
        flex: 1;
      }
    }
  }
}

.sct-fixed {
  position: absolute;
  bottom: 50px;
  width: 100%;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  .btns {
    .btn {
      margin: 0px 22px;
      width: 81px;
      height: 27px;
      border: none;
      border-radius: 3px;
      font-size: 12px;
      letter-spacing: 0.8px;
    }
  }
}

.form-file {
  position: relative;
  .form-control {
    position: relative;
    opacity: 0;
    z-index: 2;
  }
  .btn {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
  }
}

//sct-camera
.sct-camera {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  padding: 60px 0px;
  .item {
    margin: 0.2%;
    width: 49%;
    flex: none;
    background-color: #162f49;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/icn-camera.png);
  }
}

.sct-camera-act {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  display: flex;
  align-items: center;
  height: 51px;
  z-index: 2;
  .item {
    cursor: pointer;
    flex: 1;
    height: 51px;
    background-position: center;
    background-repeat: no-repeat;
    @for $i from 1 through 5 {
      &.item-#{$i} {
        background-image: url(../images/icn-cam-#{$i}.png);
      }
    }
  }
}

.sct-video {
  .sct-camera {
    padding: 76px 0px 30px;
    .item {
      position: relative;
      margin: 1%;
      width: 30%;
      .video {
        display: block;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
      }
      .txt {
        position: absolute;
        left: 0px;
        bottom: 0px;
        z-index: 2;
        width: 100%;
        height: 45px;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 0px 12px;
        color: #ffffff;
        font-size: 18px;
        display: flex;
        align-items: center;
      }
    }
  }
}

.cover {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  &:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
  }
  .contain {
    display: inline-block;
    vertical-align: middle;
    width: 567px;
    height: 388px;
    background-color: #0c1a2c;
    @include bg-contain;
    background-image: url(../images/pop-menu-bg.png);
    padding: 30px;
    text-align: left;
    .title {
      border-left: 4px solid #0e94ea;
      height: 16px;
      line-height: 16px;
      padding-left: 15px;
      color: #ffffff;
      font-size: 12px;
    }
    .btns {
      margin-top: 15px;
      display: flex;
      justify-content: center;
      .btn {
        margin: 0px 22px;
        width: 81px;
        height: 27px;
        border: none;
        border-radius: 3px;
        font-size: 12px;
        letter-spacing: 0.8px;
      }
    }
  }
}

.pop-menu-form {
  display: block;
  height: auto;
  .form-inline {
    margin-top: -5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    .filter-form {
      flex: 1;
      margin-top: 17px;
      margin-right: 0px;
      .form-control {
        width: 176px;
      }
    }
    .form-textarea {
      flex: none;
      width: 100%;
      .form-control {
        width: 440px;
        height: 82px;
      }
    }
  }
  .menu-choose {
    display: flex;
    align-items: center;
    justify-content: space-around;
    .item {
      cursor: pointer;
      width: 167px;
      display: flex;
      align-items: center;
      .dot {
        margin: 0px 15px;
        width: 10px;
        height: 10px;
        background-color: #243141;
        border-radius: 10px;
      }
      .info {
        position: relative;
        width: 144px;
        height: 67px;
        border-radius: 4px;
        border: 1px solid #0e94ea;
        background-color: #243141;
        background-repeat: no-repeat;
        background-position: 30% 50%;
        &.info-1 {
          background-image: url(../images/icn-menu-1.png);
        }
        &.info-2 {
          background-image: url(../images/icn-menu-2.png);
        }
        .txt {
          position: absolute;
          right: 20px;
          bottom: 10px;
          display: block;
          color: #cdddf7;
          font-size: 10px;
          line-height: 1;
        }
      }
      &.active {
        .dot {
          background-color: #0e94ea;
        }
      }
    }
  }
}

.icn-map-error {
  background-image: url(../images/icn-error.png);
}
.icn-map-normal {
  background-image: url(../images/icn-normal.png);
}

.table.aoi-detail {
  tr {
    td {
      text-align: left;
    }
    td:nth-child(2n + 1) {
      text-align: center;
    }
  }
}

.ztree li a {
  color: #fff !important;
}

.jconfirm {
  .jconfirm-bg {
    opacity: 0.6 !important;
  }

  .jconfirm-box {
    background-color: #172437 !important;
    color: #fff;
  }
}

.btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 37px;
  border-radius: 4px;
  background-color: #ffffff;
  color: #172437;
  font-size: 18px;
}

.switch {
  margin-left: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 38px;
    border-radius: 4px 0 0 4px;
    background-color: #ffffff;
    color: #3398db;
    font-size: 18px;
    &:first-child {
      border-radius: 4px 0 0 4px;
    }
    &:last-child {
      border-radius: 0px 4px 4px 0;
    }
    &.active {
      color: #fff;
      background-color: #3398db;
    }
  }
}

.sct-car {
  .top {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    .dec {
      position: absolute;
      left: 0px;
      top: 20px;
      width: 100%;
      height: 38px;
      line-height: 38px;
      text-align: center;
      font-size: 26px;
      font-weight: 700;
      color: #fff;
    }
  }
  .box {
    margin-top: 20px;
    height: calc(100vh - 480px);
  }
}

#chart {
  margin: -20px auto 0px;
  width: 95%;
  height: 200px;
}

.footer {
  position: absolute;
  left: 50px;
  bottom: 10px;
  z-index: 2;
  .cp {
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.8px;
  }
}

.sct-btn-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 2px 10px;
  .btns {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 20px;
    width: 234px;
    height: 74px;
    @include bg-contain;
    background-image: url(../images/btn-bg.png);
    span, a {
      color: #ffffff;
      font-size: 18px;
      line-height: 1;
      letter-spacing: 2px;
    }
  }
}

//sct-yctj
.sct-yctj {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  padding: 5 0 5 0;
  .item {
    margin: 0.1%;
    width: 49%;
    height: 49%;
    flex: none;
    background-color: #162f49;
    background-position: center;
    background-repeat: no-repeat;
    border: #162f49 solid 1px;
  }
}


